//
//  MXSpeparatorLine.m
//  MoYou
//
//  Created by 马彦 on 16/8/18.
//  Copyright © 2016年 MX. All rights reserved.
//

#import "MXSpeparatorLine.h"

@implementation MXSpeparatorLine

+ (id)initVerticalLineHeight:(CGFloat)height orginX:(CGFloat)x orginY:(CGFloat)y {
    UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(x, y, 0.5, height)];
    lineView.backgroundColor = RGBA_Color(0.9, 0.9, 0.9, 1.0);
    return lineView;
}

+ (id)initHorizontalLinewidth:(CGFloat)width orginX:(CGFloat)x orginY:(CGFloat)y {
    UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(x, y, width, 0.5)];
    lineView.backgroundColor = RGBA_Color(0.9, 0.9, 0.9, 1.0);
    return lineView;
}

@end
